Array.prototype.remove = function(callback) {
	let num = -1
	this.some(function(item, index) {
		let res = callback(item)
		if (res) {
			num = index
			return true
		}
		return false
	})
	if (num === -1) return
	this.splice(num, 1)
}

export default {}